package com.artPreter.service;


import com.artPreter.pojo.Artwork;
import com.artPreter.pojo.EventExhibition;
import com.artPreter.pojo.IndexItemRelative;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 首页板块-内容关系表 服务类
 * </p>
 *
 * @author jarvis
 * @since 2024-12-10
 */

public interface IIndexItemRelativeService extends IService<IndexItemRelative> {

    List<IndexItemRelative> getList(IndexItemRelative indexItemRelative);

    void delete(IndexItemRelative indexItemRelative);

    void edit(IndexItemRelative indexItemRelative);

    void add(IndexItemRelative indexItemRelative);

    IPage<IndexItemRelative> getPage(Integer currentPage, Integer size, IndexItemRelative indexItemRelative);

    IPage<Artwork> getNoRelativeArtworkPage(Integer currentPage, Integer size, IndexItemRelative indexItemRelative);

    IPage<Artwork> getIndexRelativeArtworkPage(Integer currentPage, Integer size, IndexItemRelative indexItemRelative);

    void saveSort(List<IndexItemRelative> indexItemRelativeList);

    IPage<EventExhibition> getNoRelativeEventExhibitionPage(Integer currentPage, Integer size, IndexItemRelative indexItemRelative);

    IPage<EventExhibition> getIndexRelativeEventExhibitionPage(Integer currentPage, Integer size, IndexItemRelative indexItemRelative);
}
